﻿using SqlSugar;

namespace Warehouse.Domian
{
   
    public class BaseEntity
    {
        /// <summary>
        /// 主键id,自增，唯一
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]//数据库是自增才配自增 
        public int Id { get; set; }
        /// <summary>
        /// 逻辑删除字段
        /// </summary>
        public bool IsDeleted { get; set; }
    }
}
